home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / test.all / ideinfo.doc < prev    next >
Text File  |  1991-05-27  |  4KB  |  105 lines

  1.  
  2. ------------------------------------------------------------
  3.  IDEINFO.EXE             Version 1.0                5/26/91
  4. ------------------------------------------------------------
  5.  (C) Copyright 1991 Thomas J. Newman.  All Rights Reserved
  6.  
  7.  
  8. Purpose:
  9.  
  10.    IDEINFO displays information about the IDE (Integrated Drive
  11.    Electronic) drives in an AT computer.  It issues a standard
  12.    IDE drive command that requests information about the drive.
  13.    This information is then displayed on the screen.
  14.  
  15.    The information returned by the drive includes the physical
  16.    number of cylinders/heads/sectors; buffer size; number of
  17.    ECC bytes transferred; and the drive's model number, serial
  18.    number, and firmware revision level.
  19.  
  20.    This program would be useful to someone who wants to know
  21.    more information about the IDE drives installed in his/her
  22.    system.  It can also be used as a troubleshooting aid since
  23.    it by-passes the system BIOS and accesses the hardware
  24.    directly.
  25.  
  26. Format:  IDEINFO    (no parameters required)
  27.  
  28. Remarks:
  29.  
  30.    The program first displays the numbers of hard disk drives
  31.    reported by the AT System BIOS (this value is stored in
  32.    memory at location 0040:0075).  This value will be 0 if no
  33.    drives found; 1 for one drive; and 2 for two drives.
  34.  
  35.    Next a check is made to determine if any IDE drives exist.
  36.    The main hard disk controller address is check (1F0 to 1F7)
  37.    to determine the number of hard drives (0, 1, or 2).  The
  38.    number of drives found is then displayed.
  39.  
  40.    If any IDE drives are found, a special command (Identify
  41.    Drive) is sent to each drive and the information returned by
  42.    the drive is displayed.
  43.  
  44.    Note:  An error message may be displayed if drives are found
  45.    but are connected to an older AT disk controller that
  46.    doesn't support the Identify Drive command.  This is not a
  47.    fatal error, it just means that the drive information can't
  48.    be displayed.
  49.  
  50.         *** Identify command was rejected by drive x
  51.  
  52.    The Identify Drive command is not used by the BIOS or the
  53.    System for normal operations.
  54.  
  55. Notes:
  56.  
  57.    This program is only useful when used on AT computers that
  58.    use a standard AT drive interface.  If it's used with
  59.    non-standard disk controllers/drives, it will report the
  60.    number of hard drives the BIOS found and report zero IDE/AT
  61.    drives found.  The program could be run in these systems to
  62.    confirm that there is no IDE/AT drives or in systems that
  63.    may have an IDE drive plus another type (e.g., SCSI drives).
  64.  
  65.    This program accesses the disk drives by directly reading
  66.    and writing hardware registers.  This program does not write
  67.    to the disk drive nor does it alter any of the drive's data
  68.    or parameters.
  69.  
  70.    The IDE Drive interface only supports two drives:  Drive 0
  71.    and Drive 1.  The program does a special check to see if
  72.    Drive 1 is present without Drive 0.  This means that the
  73.    drive(s) are jumpered incorrectly and a warning message is
  74.    displayed:
  75.  
  76.         *** Warning:  Only one drive found and Its addressed
  77.                       as Drive 1.
  78.  
  79.    The number of cylinders/heads/sectors displayed is generally
  80.    the drive's "native" values.  These are the physical values
  81.    used internally by the drive.  The interface accepts logical
  82.    parameters from the System (as defined in the CMOS drive
  83.    type and Drive Parameter tables) and translates them into
  84.    the drive's physical parameters.
  85.  
  86.    Some drives (Seagate ST-1144 for example) will return the
  87.    same parameters as the System's.  This occurs because the
  88.    drive varies the number of sectors per track based on it
  89.    physical location on the disk (called "zones").
  90.  
  91. -----------------------------------------------------------
  92.                     Copyright Notice
  93. -----------------------------------------------------------
  94.  
  95.    This program and documentation is copyrighted by Thomas J.
  96.    Newman.  The program and documentation in its complete and
  97.    unmodified form may be used freely and uploaded to other
  98.    BBSs, but may not be resold without written permission from
  99.    the author.
  100.  
  101.    If you have any comments, suggestions, or question about
  102.    this program, please send an e-mail message to the author
  103.    through Compuserve: 71246,1573
  104.  
  105.